package com.news.service;





import com.news.model.Category;

import java.util.List;

public interface CategoryService {
    //添加
    void insertCategory(Category category);
    //查询
    List<Category> queryAll(int pageNum, int pageSize);
    //查询一个类别
    Category queryOne(String id);
    //修改状态
    void update(Category category);
}
